home *** CD-ROM | disk | FTP | other *** search
/ Champak 86 / (Vol 86) My Disc.iso / Games / celebridades_1407.swf / scripts / frame_3 / DoAction_2.as next >
Text File  |  2009-04-29  |  2KB  |  64 lines

  1. ananother._visible = false;
  2. again._visible = false;
  3. ds._visible = false;
  4. entname.ii.text = "";
  5. another.onPress = function()
  6. {
  7.    _root.mp.btn._visible = false;
  8.    _root.mp.back._visible = false;
  9.    _root.mp.h1.h2.h3.gotoAndStop(1);
  10.    _root.mp.la.gotoAndStop(1);
  11.    _root.mp.tot.gotoAndStop(1);
  12.    entname._visible = true;
  13.    entname._x = -243.1;
  14.    entname._y = 240.4;
  15.    var _loc2_ = new mx.transitions.Tween(mp,"_y",mx.transitions.easing.Back.easeIn,240.2,-271.5,1,true);
  16.    _loc2_.onMotionFinished = function()
  17.    {
  18.       another._visible = false;
  19.       ananother._visible = true;
  20.       var _loc1_ = new mx.transitions.Tween(entname,"_x",mx.transitions.easing.Back.easeIn,-252.2,184.1,1,true);
  21.    };
  22. };
  23. ananother.onPress = function()
  24. {
  25.    if(entname.ii.text != "")
  26.    {
  27.       ananother._visible = false;
  28.       out._visible = true;
  29.       var _loc1_ = new mx.transitions.Tween(entname,"_y",mx.transitions.easing.Back.easeIn,235.8,-271.5,1,true);
  30.       ds.out.text = entname.ii.text;
  31.       _loc1_.onMotionFinished = function()
  32.       {
  33.          again._visible = true;
  34.          ds._visible = true;
  35.       };
  36.    }
  37. };
  38. again.onPress = function()
  39. {
  40.    again._visible = false;
  41.    ds._visible = false;
  42.    dresses.gotoAndStop(1);
  43.    chain.gotoAndStop(1);
  44.    earing.gotoAndStop(1);
  45.    eyebrow.gotoAndStop(1);
  46.    eyeshade.gotoAndStop(1);
  47.    eyelash.gotoAndStop(1);
  48.    eyelens.gotoAndStop(1);
  49.    rouge.gotoAndStop(1);
  50.    lips.gotoAndStop(1);
  51.    extra1.gotoAndStop(1);
  52.    extra2.gotoAndStop(1);
  53.    extra3.gotoAndStop(1);
  54.    glass.gotoAndStop(1);
  55.    var _loc2_ = new mx.transitions.Tween(mp,"_y",mx.transitions.easing.Back.easeIn,-271.5,240.2,1,true);
  56.    _loc2_.onMotionFinished = function()
  57.    {
  58.       another._visible = true;
  59.       _root.mp.clk._visible = true;
  60.       entname._visible = true;
  61.       entname.ii.text = "";
  62.    };
  63. };
  64.